<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE>
<html>
   <head>
   	   <meta charset="utf8">
   	   <meta name="viewport" content="width=device-width, initial-scale=1">
       <link rel="stylesheet" type="text/css" href="/aquaticproduct/Public/css/bootstrap.min.css">
       <link rel="stylesheet" type="text/css" href="/aquaticproduct/Public/css/sticky-footer-navbar.css">
       <script type="application/javascript" src="/aquaticproduct/Public/js/jquery-1.11.1.min.js"></script>
       <script type="application/javascript" src="/aquaticproduct/Public/js/bootstrap.min.js"></script>
   	   <title>水产品质量溯源系统</title>
   </head>
<body>

     <!-- Fixed navbar -->
    <nav class="navbar navbar-default navbar-fixed-top">
      <div class="container">
	        <div class="navbar-header">
	          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
	            <span class="sr-only">Toggle navigation</span>
	            <span class="icon-bar"></span>
	            <span class="icon-bar"></span>
	            <span class="icon-bar"></span>
	          </button>
	          <a class="navbar-brand" href="#">水产品质量溯源系统</a>
	        </div>
	        <div id="navbar" class="collapse navbar-collapse">
	          <ul class="nav navbar-nav">
	            <li class="dropdown">
	            	<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">个人中心<span class="caret"></span></a>
	            	   <ul class="dropdown-menu">
		                <li><a href="<?php echo U('Home/User/showMe',array('role'=> '1'));?>">个人信息</a></li>
		                <li><a style="color:red" href="<?php echo U('Home/Index/logout');?>">退出</a></li>	                
		              </ul>
	            </li> 
	            <li class="dropdown">
	              <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">用户中心 <span class="caret"></span></a>
	              <ul class="dropdown-menu">
	                <li><a href="<?php echo U('Superadmin/User/index');?>">注册用户</a></li>

	                <li><a href="<?php echo U('Superadmin/User/manage');?>">用户管理</a></li>
	              </ul>
	            </li>
	            <li class="dropdown">
	              <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">功能列表 <span class="caret"></span></a>
	              <ul class="dropdown-menu">
	                <li><a href="<?php echo U('Superadmin/Safe/index');?>">基地基本信息</a></li>

	                <li><a href="#"></a></li>
	              </ul>
	            </li>
	          </ul>
	          <a class="navbar-brand " href="#">|&nbsp&nbsp&nbsp&nbsp系统管理员</a>
	        </div><!--/.nav-collapse -->
      </div>
    </nav>

    <div class="container">
    	<div class="row">
    		<div class="col-sm-9">
    		  
   	   <div class="row">
         <h1><strong>个人信息</strong></h1>	  	
   	  </div>
   	  <div class="row">
   	  	 	<table class="table table-bordered table-striped col-sm-12" >
	     <caption> </caption>
		     <tbody> 
		     	  <tr>
		     	  	<th>角色</th>
		     	  	<td><?php echo ($member_data["member_role"]); ?></td>
		     	  </tr>
		     	  <tr>
		     	  	<th>账号</th>
		     	  	<td><?php echo ($member_data["member_username"]); ?></td>
		     	  </tr>
		     	  <tr>
		     	  	<th>密码</th>
		     	  	<td><?php echo ($member_data["member_password"]); ?></td>
		     	  </tr>
		     	  <tr>
		     	  	<th>所属基地</th>
		     	  	<td><?php echo ($member_data["member_base_id"]); ?></td>
		     	  </tr>
		     	  <tr>
		     	  	<th>所属池塘</th>
		     	  	<td><?php echo ($member_data["member_pool_id"]); ?></td>
		     	  </tr>
		     	  <tr>
		     	  	<th>拥有权限</th>
		     	  	<td><?php echo ($member_data["member_permission"]); ?></td>
		     	  </tr>
		     	  <tr>
		     	  	<th>操作</th>
		     	  	<td><button class="btn btn-danger" data-toggle="modal" data-target="#modifyMemberModal" id="modifyButton" value="<?php echo ($vo["member_id"]); ?>" onclick="change(this)">修改</button></td>
		     	  </tr>
		     </tbody>
 		 </table>
   	  </div>

    		</div>

	       <div class="col-sm-3">
	       	  
		       	 <h1>rightcolumn</h1>
		      
	       </div>
	    </div> <!-- row -->
    	
   </div> <!-- container -->

   
    <footer class="footer">
      <div class="container">
        <p class="text-muted"><center>Copyright by 华南农业大学</center></p>
      </div>
    </footer>
    
  </body>
</html>